package com.ruoyi.oos.tag.domain;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测点配置对象 oos_tag_config
 * 
 * @author wzy
 * @date 2020-05-11
 */
public class TagConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 分组id */
    @Excel(name = "分组id")
    private Long groupid;

    /** 测点名称 */
    @Excel(name = "测点名称")
    private String tagname;

    /** PI测点名 */
    @Excel(name = "PI测点名")
    private String pitagname;

    /** 状态1：启用2：不启用 */
    @Excel(name = "状态")
    private Long status;

    /** 计算类型1：上下限2：设备启停3：均值4：差值 */
    @Excel(name = "计算类型")
    private String calctype;

    /** 限值类型1：单限值2：多限值3：动态限值4：启停值 */
    @Excel(name = "限值类型")
    private String limittype;

    /** 上限限值 */
    @Excel(name = "上限限值")
    private String upperval;

    /** 下限限值 */
    @Excel(name = "下限限值")
    private String lowerval;

    /** 关联PI测点 */
    @Excel(name = "关联PI测点")
    private String pitag;

    /** 分组名称 */
    @Excel(name = "分组名称")
    private String groupname;

    private List<Long> groupIds;
    
        public List<Long> getGroupIds() {
			return groupIds;
		}

		public void setGroupIds(List<Long> groupIds) {
			this.groupIds = groupIds;
		}

				public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
        public void setGroupid(Long groupid)
    {
        this.groupid = groupid;
    }

    public Long getGroupid() 
    {
        return groupid;
    }
        public void setTagname(String tagname)
    {
        this.tagname = tagname;
    }

    public String getTagname() 
    {
        return tagname;
    }
        public void setPitagname(String pitagname)
    {
        this.pitagname = pitagname;
    }

    public String getPitagname() 
    {
        return pitagname;
    }
        public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
        public void setCalctype(String calctype)
    {
        this.calctype = calctype;
    }

    public String getCalctype() 
    {
        return calctype;
    }
        public void setLimittype(String limittype)
    {
        this.limittype = limittype;
    }

    public String getLimittype() 
    {
        return limittype;
    }
        public void setUpperval(String upperval)
    {
        this.upperval = upperval;
    }

    public String getUpperval() 
    {
        return upperval;
    }
        public void setLowerval(String lowerval)
    {
        this.lowerval = lowerval;
    }

    public String getLowerval() 
    {
        return lowerval;
    }
        public void setPitag(String pitag)
    {
        this.pitag = pitag;
    }

    public String getPitag() 
    {
        return pitag;
    }
        public void setGroupname(String groupname)
    {
        this.groupname = groupname;
    }

    public String getGroupname() 
    {
        return groupname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        
        .append("id", getId())
        
        .append("groupid", getGroupid())
        
        .append("tagname", getTagname())
        
        .append("pitagname", getPitagname())
        
        .append("status", getStatus())
        
        .append("calctype", getCalctype())
        
        .append("limittype", getLimittype())
        
        .append("upperval", getUpperval())
        
        .append("lowerval", getLowerval())
        
        .append("pitag", getPitag())
        
        .append("groupname", getGroupname())
            .toString();
    }
}
